
<form id="form_add">
<input type="hidden" name="density" id="density" value="" />
<input type="hidden" name="unit2" id="unit2" value="" />
<input type="hidden" name="price2" id="price2" value="" />
<table>
	<tr>
		<td width="20%" align="right">申请人：</td>
		<td width="30%"><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'申请人']}"> <input type="checkbox"
			name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td width="20%" align="right">产品：</td>
		<td width="30%"><input type="text" name="mold" id="mold" size="16" value="{[$result.mold]}:{[$result.mold_t]}" title="{[$t.mold]}"></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="used" id="used" cols="55">{[$result.used]}</textarea></td>
	</tr>
	<tr>
		<td align="right">材料：</td>
		<td colspan="3"><input type="text" name="material" id="material" size="30" value="{[$result.material]}:{[$result.material_t]}" title="请输入材料编号或材料名称汉语拼音首字母，然后选择并回车即可。"></td>
	</tr>
	<tr>
		<td align="right">类型：</td>
		<td colspan="3"><select name='type' id='type'>
      {[html_options options=$type_option selected=$result.type]}
      </select></td>
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" id="name" cols="50">{[$result.name]}</textarea></td>
	</tr>
	<tr id='label_cube'>
		<td align="right">规格：</td>
		<td colspan="3">(长*宽*高)<input type="text" name="v_l" id="v_l" size="8" value="{[$result.length]}">
		<input type="text" name="v_w" id="v_w" size="8" value="{[$result.width]}">
		<input type="text" name="v_h1" id="v_h1" size="8" value="{[$result.height]}"> (单位：毫米)</td>
	</tr>
	<tr id='label_cylinder'>
		<td align="right">规格：</td>
		<td colspan="3">(ф直径*高)<input type="text" name="v_d" id="v_d" size="8" value="{[$result.diameter]}">
		<input type="text" name="v_h2" id="v_h2" size="8" value="{[$result.height]}"> (单位：毫米)</td>
	</tr>
	<tr id='label_standard'>
		<td align="right">规格：</td>
		<td colspan="3"><textarea rows="2" name="standard" id="standard" cols="55">{[$result.standard]}</textarea></td>
	</tr>
	<tr id='label_v'>
		<td align="right">体积：</td>
		<td colspan="3"><label id="vvv"></label>(单位：立方厘米)</td>
	</tr>
	<tr id="label_unit">
		<td align="right">单位：</td>
		<td colspan="3"><input type="text" name="unit" id="unit" size="12" value="{[$result.unit]}">
		<select name='unit_t' id='unit_t'>
      {[html_options options=$unit_option selected=-]}
      </select></td>
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td colspan="3"><input type="text" name="price" id="price" size="12" value="{[$result.price|string_price]}"></td>
	</tr>
	<tr>
		<td align="right">数量：</td>
		<td><input type="text" name="amount" id="amount" size="12" value="{[$result.amount|string_float]}"></td>
		<td align="right">日期：</td>
		<td><input type="text" name="date" id="date" size="12" value="{[$t1|date_format:'%Y-%m-%d']}"></td>
	</tr>	
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="4" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/material/bom/copy.js?r={[$smarty.now]}"></script>